MailPoet\Cron\Workers\SendingQueue\Migration S

Total Complexity 34
Dependencies 8
Dependents 4
Total lines 277
Lines of code 197
Logical lines of code 88
Comment lines 32
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
migrateTaskSubscribers()
S
45 6 45
prepareTaskStrategy()
S
53 5 23
migrateSendingQueues()
S
47 4 37
migrateSubscribers()
S
55 4 19
resumeSending()
S
63 4 10
pauseSending()
S
62 2 12
getNextRunDate()
S
71 2 6
getTaskIdsForUnmigratedSubscribers()
S
61 1 13
__construct()
S
73 1 5
checkProcessingRequirements()
S
76 1 4
processTaskStrategy()
S
72 1 6
checkUnmigratedColumnsExist()
S
71 1 5
getUnmigratedQueueIds()
S
67 1 9
getTableName()
S
80 1 3